/*
 * Created on 05/05/2005
 *
 */
package tests.model.more.other;

import org.apache.commons.lang.builder.ToStringBuilder;

import tests.model.Seller;
import tests.model.more.Car;

/**
 * @author Bajales Raul
 *
 */
public class Sedan extends Car {

    private String ownerName;
    private Integer size;
    private Seller seller;
    
    /**
     * Constructor
     */
    public Sedan() {
        super();
    }

    /**
     * @param colour
     * @param tiresColour
     */
    public Sedan(String colour, String tiresColour) {
        super(colour, tiresColour);
    }

    /**
     * @param ownerName
     * @param size
     * @param seller
     */
    public Sedan(String colour, String tiresColour, String ownerName, Integer size, Seller seller) {
        super(colour, tiresColour);
        this.ownerName = ownerName;
        this.size = size;
        this.seller = seller;
    }
    /**
     * @return Returns the ownerName.
     */
    public String getOwnerName() {
        return ownerName;
    }
    /**
     * @param ownerName The ownerName to set.
     */
    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }
    
    /* (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
    /**
     * @return Returns the size.
     */
    public Integer getSize() {
        return size;
    }
    /**
     * @param size The size to set.
     */
    public void setSize(Integer size) {
        this.size = size;
    }
    /**
     * @return Returns the seller.
     */
    public Seller getSeller() {
        return seller;
    }
    /**
     * @param seller The seller to set.
     */
    public void setSeller(Seller seller) {
        this.seller = seller;
    }
}
